<template>
  <div id="app">
    <dv-border-box-1>
      <div class="app-content public">
        <router-view />
      </div>
    </dv-border-box-1>
  </div>
</template>

<script>
import { getUserInfo } from "@/utils";
export default {
  created() {
    // 获取用户信息
    getUserInfo();
  },
};
</script>

<style lang="scss">
html,
body,
#app,
.public {
  width: 100%;
  height: 100%;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

.app-content {
  padding: 20px;
}
</style>
